home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / Xt / XtParseAcceleratorTable.z / XtParseAcceleratorTable
Encoding:
Text File  |  1998-10-30  |  3.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXttttPPPPaaaarrrrsssseeeeAAAAcccccccceeeelllleeeerrrraaaattttoooorrrrTTTTaaaabbbblllleeee((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXttttPPPPaaaarrrrsssseeeeAAAAcccccccceeeelllleeeerrrraaaattttoooorrrrTTTTaaaabbbblllleeee((((3333XXXXtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XtParseAcceleratorTable, XtInstallAccelerators,
  10.           XtInstallAllAccelerators - managing accelerator tables
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           XtAccelerators XtParseAcceleratorTable(_s_o_u_r_c_e)
  14.                 String _s_o_u_r_c_e;
  15.  
  16.           void XtInstallAccelerators(_d_e_s_t_i_n_a_t_i_o_n, _s_o_u_r_c_e)
  17.                 Widget _d_e_s_t_i_n_a_t_i_o_n;
  18.                 Widget _s_o_u_r_c_e;
  19.  
  20.           void XtInstallAllAccelerators(_d_e_s_t_i_n_a_t_i_o_n, _s_o_u_r_c_e)
  21.                 Widget _d_e_s_t_i_n_a_t_i_o_n;
  22.                 Widget _s_o_u_r_c_e;
  23.  
  24.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  25.           _s_o_u_r_c_e    Specifies the accelerator table to compile.
  26.  
  27.           _d_e_s_t_i_n_a_t_i_o_n
  28.                     Specifies the widget on which the accelerators are
  29.                     to be installed.
  30.  
  31.           _s_o_u_r_c_e    Specifies the widget or the root widget of the
  32.                     widget tree from which the accelerators are to
  33.                     come.
  34.  
  35.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  36.           The _X_t_P_a_r_s_e_A_c_c_e_l_e_r_a_t_o_r_T_a_b_l_e function compiles the
  37.           accelerator table into the opaque internal representation.
  38.  
  39.           The _X_t_I_n_s_t_a_l_l_A_c_c_e_l_e_r_a_t_o_r_s function installs the accelerators
  40.           from source onto destination by augmenting the destination
  41.           translations with the source accelerators.  If the source
  42.           display_accelerator method is non-NULL,
  43.           _X_t_I_n_s_t_a_l_l_A_c_c_e_l_e_r_a_t_o_r_s calls it with the source widget and a
  44.           string representation of the accelerator table, which
  45.           indicates that its accelerators have been installed and that
  46.           it should display them appropriately.  The string
  47.           representation of the accelerator table is its canonical
  48.           translation table representation.
  49.  
  50.           The _X_t_I_n_s_t_a_l_l_A_l_l_A_c_c_e_l_e_r_a_t_o_r_s function recursively descends
  51.           the widget tree rooted at source and installs the
  52.           accelerators of each widget encountered onto destination.  A
  53.           common use os to call _X_t_I_n_s_t_a_l_l_A_l_l_A_c_c_e_l_e_r_a_t_o_r_s and pass the
  54.           application main window as the source.
  55.  
  56.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  57.           XtParseTranslationTable(1)
  58.           _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  59.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.